i = input() |
print(i) |
i = i * 10 |
print("Enter a number") |
i = int(i) |
1 | print("Enter a number") |
2 | i = input() |
3 | i = int(i) |
4 | i = i * 10 |
5 | print(i) |
i = input() |
i = i * 2 |
print(i) |
print("Enter a word") |
1 | print("Enter a word") |
2 | i = input() |
3 | i = i * 2 |
4 | print(i) |
print(i) |
print("Enter a word") |
i = input() |
i = i + "!" |
1 | print("Enter a word") |
2 | i = input() |
3 | i = i + "!" |
4 | print(i) |
i = input() |
f = input() |
print(f) |
f = f + 4 |
f = float(f) |
i = int(i) |
print(i) |
print("Enter an integer") |
print("Results") |
i = i + 4 |
print("Enter a float") |
1 | print("Enter a float") |
2 | f = input() |
3 | f = float(f) |
4 | f = f + 4 |
5 | print("Enter an integer") |
6 | i = input() |
7 | i = int(i) |
8 | i = i + 4 |
9 | print("Results") |
10 | print(f) |
11 | print(i) |
print(i) |
f = float(f) |
i = int(i) |
s = input() |
print("Enter a string") |
print("Enter a float") |
i = input() |
print(f) |
f = f * 2 |
s = s * 2 |
print(s) |
f = input() |
print("Enter a number") |
i = i * 2 |
1 | print("Enter a string") |
2 | s = input() |
3 | s = s * 2 |
4 | print(s) |
5 | |
6 | print("Enter a number") |
7 | i = input() |
8 | i = int(i) |
9 | i = i * 2 |
10 | print(i) |
11 | |
12 | print("Enter a float") |
13 | f = input() |
14 | f = float(f) |
15 | f = f * 2 |
16 | print(f) |
print("Answer: " + f) |
f2 = input() |
f2 = float(f2) |
f1 = input() |
f = str(f) |
print("Enter float 2") |
f1 = float(f1) |
print("Enter float 1") |
f = f1 + f2 |
1 | print("Enter float 1") |
2 | f1 = input() |
3 | f1 = float(f1) |
4 | print("Enter float 2") |
5 | f2 = input() |
6 | f2 = float(f2) |
7 | f = f1 + f2 |
8 | f = str(f) |
9 | print("Answer: " + f) |
print(f1 + " + " + f2 + " = " + f) |
f1 = str(f1) |
f = f1 + f2 |
print("Enter float 2") |
f1 = float(f1) |
f2 = str(f2) |
f2 = float(f2) |
f1 = input() |
f = str(f) |
print("Enter float 1") |
f2 = input() |
1 | print("Enter float 1") |
2 | f1 = input() |
3 | f1 = float(f1) |
4 | print("Enter float 2") |
5 | f2 = input() |
6 | f2 = float(f2) |
7 | f = f1 + f2 |
8 | f1 = str(f1) |
9 | f2 = str(f2) |
10 | f = str(f) |
11 | print(f1 + " + " + f2 + " = " + f) |
print(s) |
print("Enter two strings") |
s = i1 + " " + i2 |
i2 = input() |
i1 = input() |
1 | print("Enter two strings") |
2 | i1 = input() |
3 | i2 = input() |
4 | s = i1 + " " + i2 |
5 | print(s) |
print("Enter one number and one string") |
i = int(i) |
i = input() |
s = input() |
print (i*s) |
1 | print("Enter one number and one string") |
2 | i = input() |
3 | i = int(i) |
4 | s = input() |
5 | print (i*s) |
print("Rounded Down: " + f) |
print("Enter a float") |
f = float(f) |
f = int(f) |
f = str(f) |
f = input() |
1 | print("Enter a float") |
2 | f = input() |
3 | f = float(f) |
4 | f = int(f) |
5 | f = str(f) |
6 | print("Rounded Down: " + f) |
i = input() |
print(i) |
print("Enter an integer") |
i = i + "." + i |
1 | print("Enter an integer") |
2 | i = input() |
3 | i = i + "." + i |
4 | print(i) |
i1 = input() |
print(i1 + " * " + i2 + " = " + i3) |
i1 = str(i1) |
print("Enter two integers") |
i3 = i1 * i2 |
i1 = i1 * 2 |
i1 = int(i1) |
i2 = int(i2) |
i2 = str(i2) |
i2 = input() |
i2 = i2 * 2 |
i3 = str(i3) |
1 | print("Enter two integers") |
2 | i1 = input() |
3 | i1 = i1 * 2 |
4 | i2 = input() |
5 | i2 = i2 * 2 |
6 | i1 = int(i1) |
7 | i2 = int(i2) |
8 | i3 = i1 * i2 |
9 | i1 = str(i1) |
10 | i2 = str(i2) |
11 | i3 = str(i3) |
12 | print(i1 + " * " + i2 + " = " + i3) |
f = input() |
print(f) |
print("Your decimal") |
i = int(f) |
f = f * 2 |
print("Enter a float") |
f = f + i |
f = f - i |
f = float(f) |
1 | print("Enter a float") |
2 | f = input() |
3 | f = float(f) |
4 | i = int(f) |
5 | f = f - i |
6 | f = f * 2 |
7 | f = f + i |
8 | print("Your decimal") |
9 | print(f) |
f = float(f) |
f = str(f) |
print("Enter a float") |
f = input() |
print("Rounded: " + f) |
f = f + 0.5 |
f = int(f) |
1 | print("Enter a float") |
2 | f = input() |
3 | f = float(f) |
4 | f = f + 0.5 |
5 | f = int(f) |
6 | f = str(f) |
7 | print("Rounded: " + f) |